//// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
//// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
//// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
//// PARTICULAR PURPOSE.
////
//// Copyright (c) Microsoft Corporation. All rights reserved

#include "pch.h"
#include "Sphere.h"

using namespace DirectX;

//----------------------------------------------------------------------

Sphere::Sphere() : GameObject()
{
	m_radius = 1.0f;
}

Sphere::Sphere(
	DirectX::XMFLOAT3 position,
	float radius
	) : GameObject()
{
	m_radius = radius;
	m_scale = XMFLOAT3(radius, radius, radius);
}
